package com.mf.springboot.backend.userAuth.controller;

import com.mf.springboot.backend.userAuth.service.LoginService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by lx on 2017/3/26.
 */
@Controller
public class MainController {
    protected static Logger logger= LoggerFactory.getLogger(MainController.class);

    @Resource
    private LoginService userService;

    @RequestMapping("/")
    @ResponseBody
    String home() {
        return "Hello World!";
    }

}
